package com.pgy.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pgy.backend.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface UserMapper extends BaseMapper<User> {


    @Insert("INSERT INTO user (id,name,password,administrator) VALUES (#{Id},#{name},#{password},#{administrator})")
    boolean save(User user);
}
